<template>
  <div>
    <div>
      <img
        src="https://scpic.chinaz.net/files/pic/pic9/202003/zzpic23514.jpg"
        alt=""
      />
      <p>{{ title }}</p>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      title: "这是一个孤独可怜的狗啊",
    };
  },
};
</script>

<style scoped>
div {
  display: inline-block;
  text-align: center;
  border: 1px solid #000;
}
img {
  width: 300px;
  height: 220px;
}
</style>